using System;
using System.Collections.Generic;
using System.Text;

namespace Com.queryzer2.Dao.Interface
{
    public interface IDao<T,K>: IDisposable
    {
        Dictionary<K,T> GetAll();
        T GetById(K id);
        void Insert(T entity);
        
        void Update(T entity);
        void Delete(K id);
    }
}

       